package 简单工厂模式.练习;


/**
 *
 */
public class Zi extends Fu {

    private String ziStr;

    public Zi(String ziStr) {
        this.ziStr = ziStr;
    }

    @Override
    public void execute() {
        say();
    }

    public void say() {
        System.out.println("我是子类私有的方法" + ziStr);
    }
}
